/**
 * <strong>Title : EquipmentDownTime.java<br>
 * </strong> <strong>Package : cn.b.sky.mes.em.model<br>
 * </strong> <strong>Description : </strong>@类注释说明写在此处@<br>
 * <strong>Create on : 2015年11月19日 上午9:36:39<br>
 * </strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人 | 修改日期 | 修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
package cn.b.sky.mes.em.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

import cn.b.sky.common.model.ImeCommon;

/**
 * <strong>Title : EquipmentDownTime.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.model<br></strong>
 * <strong>Description : </strong>设备停机时间@<br> 
 * <strong>Create on : 2015年11月19日 上午9:36:39<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class EquipmentDownTime extends ImeCommon {
  /**
   * ID:number(19) <Primary Key>
   */
  private Long id;

  /**
   * 设备编号:nvarchar2(20)
   */
  private String equipmentCode;

  private String equipmentText;

  /**
   * 停机时间
   */
  private Float downTime;

  /**
   * 停机原因编号
   */
  private String shutDownCauseCode;

  /**
   * 停机原因描述
   */
  private String shutDownCauseText;

  /**
   * 备注
   */
  private String memo;

  /**
   * 日期:date(0)
   */
  @DateTimeFormat(iso = ISO.DATE_TIME, pattern = "yyyy-MM-dd")
  private Date theDate;

  /**
   * 停机开始时间:date(0)
   */
  @DateTimeFormat(iso = ISO.DATE_TIME, pattern = "yyyy-MM-dd HH:mm")
  private Date startDateTime;

  private int count;

  /** 
  * @return id
  */
  public Long getId() {
    return id;
  }

  /** 
  * @param id 要设置的 id
  */
  public void setId(Long id) {
    this.id = id;
  }

  /** 
  * @return equipmentCode
  */
  public String getEquipmentCode() {
    return equipmentCode;
  }

  /** 
  * @param equipmentCode 要设置的 equipmentCode
  */
  public void setEquipmentCode(String equipmentCode) {
    this.equipmentCode = equipmentCode;
  }

  /** 
  * @return equipmentText
  */
  public String getEquipmentText() {
    return equipmentText;
  }

  /** 
  * @param equipmentText 要设置的 equipmentText
  */
  public void setEquipmentText(String equipmentText) {
    this.equipmentText = equipmentText;
  }

  /** 
  * @return downTime
  */
  public Float getDownTime() {
    return downTime;
  }

  /** 
  * @param downTime 要设置的 downTime
  */
  public void setDownTime(Float downTime) {
    this.downTime = downTime;
  }

  /** 
  * @return shutDownCauseCode
  */
  public String getShutDownCauseCode() {
    return shutDownCauseCode;
  }

  /** 
  * @param shutDownCauseCode 要设置的 shutDownCauseCode
  */
  public void setShutDownCauseCode(String shutDownCauseCode) {
    this.shutDownCauseCode = shutDownCauseCode;
  }

  /** 
  * @return shutDownCauseText
  */
  public String getShutDownCauseText() {
    return shutDownCauseText;
  }

  /** 
  * @param shutDownCauseText 要设置的 shutDownCauseText
  */
  public void setShutDownCauseText(String shutDownCauseText) {
    this.shutDownCauseText = shutDownCauseText;
  }

  /** 
  * @return memo
  */
  public String getMemo() {
    return memo;
  }

  /** 
  * @param memo 要设置的 memo
  */
  public void setMemo(String memo) {
    this.memo = memo;
  }

  /** 
  * @return theDate
  */
  public Date getTheDate() {
    return theDate;
  }

  /** 
  * @param theDate 要设置的 theDate
  */
  public void setTheDate(Date theDate) {
    this.theDate = theDate;
  }

  /** 
  * @return startDateTime
  */
  public Date getStartDateTime() {
    return startDateTime;
  }

  /** 
  * @param startDateTime 要设置的 startDateTime
  */
  public void setStartDateTime(Date startDateTime) {
    this.startDateTime = startDateTime;
  }

  public int getCount() {
    return count;
  }

  public void setCount(int count) {
    this.count = count;
  }

}
